$(function() {
	$('.entergo').on({
			click: function() {	
				$.get('php/enterphp.php', {
					phonenumber: $('.phonenumber').val(),
					password: $('.password').val()
				},function(responsText) {
					if(responsText['content'] == 0) {
						alert(responsText['content']);
					}else{
						alert(responsText['content']);
					}
				})
			}
		}),
		$('.goenroll').on({
			click: function() {
				$.get('php/enrollphp.php', {
					phonenumber: $('.phonenumber').val(),
					password: $('.password').val()
				}, function(responsText) {
					alert(responsText);
					open('enterPage.html');
				})
			}
		})
})